import Button from 'vant/lib/button'
import Popup from 'vant/lib/popup'
import NavBar  from 'vant/lib/nav-bar'
import Tabbar from 'vant/lib/tabbar'
import TabbarItem  from 'vant/lib/tabbar-item'
import Image  from 'vant/lib/image'
import Field  from 'vant/lib/field'
import Checkbox  from 'vant/lib/checkbox'
import Form  from 'vant/lib/form'
import Divider  from 'vant/lib/divider'
import Toast  from 'vant/lib/toast'
import Icon  from 'vant/lib/icon'
import Cell  from 'vant/lib/cell'
import Row  from 'vant/lib/row'
import Col  from 'vant/lib/col'
import Dialog  from 'vant/lib/dialog'
import Search  from 'vant/lib/search'
import Swipe  from 'vant/lib/swipe'
import SwipeItem  from 'vant/lib/swipe-item'
import Grid  from 'vant/lib/grid'
import GridItem  from 'vant/lib/grid-item'
import Lazyload  from 'vant/lib/lazyload'
import List  from 'vant/lib/list'
import Sidebar  from 'vant/lib/sidebar'
import SidebarItem  from 'vant/lib/sidebar-item'
import Card  from 'vant/lib/card'
import PullRefresh  from 'vant/lib/pull-refresh'
import Stepper  from 'vant/lib/stepper'
import Badge  from 'vant/lib/badge'
import DropdownmMenu  from 'vant/lib/dropdown-menu'
import DropdowniItem  from 'vant/lib/dropdown-item'
import Tabs  from 'vant/lib/tabs'
import Tab  from 'vant/lib/tab'
import GoodsAction  from 'vant/lib/goods-action'
import GoodsActionButton  from 'vant/lib/goods-action-button'
import GoodsActionIcon  from 'vant/lib/goods-action-icon'
import Tag  from 'vant/lib/tag'


import "vant/lib/button/style/less"
import "vant/lib/popup/style/less"
import "vant/lib/nav-bar/style/less"
import "vant/lib/tabbar/style/less"
import "vant/lib/tabbar-item/style/less"
import "vant/lib/image/style/less"
import "vant/lib/field/style/less"
import "vant/lib/checkbox/style/less"
import "vant/lib/form/style/less"
import "vant/lib/divider/style/less"
import "vant/lib/toast/style/less"
import "vant/lib/icon/style/less"
import "vant/lib/cell/style/less"
import "vant/lib/row/style/less"
import "vant/lib/col/style/less"
import "vant/lib/dialog/style/less"
import "vant/lib/search/style/less"
import "vant/lib/swipe/style/less"
import "vant/lib/swipe-item/style/less"
import "vant/lib/grid/style/less"
import "vant/lib/grid-item/style/less"
import "vant/lib/list/style/less"
import "vant/lib/sidebar/style/less"
import "vant/lib/sidebar-item/style/less"
import "vant/lib/card/style/less"
import "vant/lib/pull-refresh/style/less"
import "vant/lib/stepper/style/less"
import "vant/lib/badge/style/less"
import "vant/lib/dropdown-menu/style/less"
import "vant/lib/dropdown-item/style/less"
import "vant/lib/tabs/style/less"
import "vant/lib/tab/style/less"
import "vant/lib/goods-action/style/less"
import "vant/lib/goods-action-button/style/less"
import "vant/lib/goods-action-icon/style/less"
import "vant/lib/tag/style/less"


export default {
    install(Vue){
        Vue.use(Button)
        Vue.use(Popup)
        Vue.use(NavBar)
        Vue.use(Tabbar)
        Vue.use(TabbarItem)
        Vue.use(Image)
        Vue.use(Field)
        Vue.use(Checkbox)
        Vue.use(Form)
        Vue.use(Divider)
        Vue.use(Toast)
        //个人主页
        Vue.use(Icon)
        Vue.use(Cell)
        Vue.use(Row)
        Vue.use(Col)
        Vue.use(Dialog)
        //首页
        Vue.use(Search)
        Vue.use(Swipe)
        Vue.use(SwipeItem)
        Vue.use(Grid)
        Vue.use(GridItem)
        Vue.use(Lazyload)
        Vue.use(List)
        //分类页
        Vue.use(Sidebar)
        Vue.use(SidebarItem)
        Vue.use(Card)
        Vue.use(PullRefresh)
        Vue.use(Stepper)
        Vue.use(Badge)
        //列表页
        Vue.use(DropdownmMenu)
        Vue.use(DropdowniItem)
        Vue.use(Tabs)
        Vue.use(Tab)
        Vue.use(GoodsAction)
        Vue.use(GoodsActionButton)
        Vue.use(GoodsActionIcon)
        Vue.use(Tag)

    }
}